<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>{$Think.config.app_name}</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="/layui/css/layui.css" media="all">
    <script src="/layui/layui.js" charset="utf-8"></script>
    <link rel="stylesheet" href="/ph/css/common.css">
</head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
    <div class="layui-header">
        <div class="layui-logo">{$Think.config.app_name}</div>
        <ul class="layui-nav layui-layout-left">
            <li class="layui-nav-item">
                <a href="/" title="网站首页" target="_blank">网站首页</a>
            </li>
            <li class="layui-nav-item" id="debug">
                <a>调试模式：
                <form class="layui-form">
                    <input type="checkbox" lay-filter="debug" name="switch" {$beBugStatus ?="checked"} lay-skin="switch" lay-text="开启|关闭">
                </form>
                </a>
            </li>
            <li class="layui-nav-item">
                <a href="{$app_host}" target="_blank" title="前往产品官网">前往产品官网
                    <span class="layui-badge-dot layui-bg-orange"></span>
                </a>
            </li>
        </ul>
        <ul class="layui-nav layui-layout-right">
            <li class="layui-nav-item"><a>{$userName}</a></li>
            <li class="layui-nav-item"><a title="退出" id="loginOut">退出</a></li>
        </ul>
    </div>
    <div class="layui-side layui-bg-black">
        <div class="layui-side-scroll">
            <ul class="layui-nav layui-nav-tree">
                <li class="layui-nav-item">
                    <a href="{:url('Index/index')}" title="系统主页">
                        <i class="layui-icon layui-icon-home"></i> 系统主页</a>
                </li>
                <li class="layui-nav-item">
                    <a href="{:url('System/index')}" title="系统设置">
                        <i class="layui-icon layui-icon-set-sm"></i> 系统设置</a>
                </li>
                <li class="layui-nav-item">
                    <a href="{:url('Nav/index')}" title="导航设置">
                        <i class="layui-icon layui-icon-star"></i> 导航设置</a>
                </li>
                <li class="layui-nav-item">
                    <a href="{:url('Admin/index')}" title="运营管理">
                        <i class="layui-icon layui-icon-user"></i> 运营管理</a>
                </li>
                <li class="layui-nav-item">
                    <a href="{:url('Content/index')}" title="新闻管理">
                        <i class="layui-icon layui-icon-set"></i> 新闻管理</a>
                </li>
                <li class="layui-nav-item">
                    <a href="{:url('Link/index')}" title="友链管理">
                        <i class="layui-icon layui-icon-set"></i> 友链管理</a>
                </li>
                <li class="layui-nav-item">
                    <a href="{:url('Message/index')}" title="留言管理">
                        <i class="layui-icon layui-icon-dialogue"></i> 留言管理</a>
                </li>
                <li class="layui-nav-item">
                    <a href="{:url('Tool/index')}" title="插件中心">
                        <i class="layui-icon layui-icon-engine"></i> 插件中心</a>
                </li>
                <li class="layui-nav-item">
                    <a href="{:url('Slide/index')}" title="轮播管理">
                        <i class="layui-icon layui-icon-carousel"></i> 轮播管理</a>
                </li>
                <li class="layui-nav-item">
                    <a href="{:url('Tag/index')}" title="标签管理">
                        <i class="layui-icon layui-icon-note"></i> 标签管理</a>
                </li>
                <li class="layui-nav-item">
                    <a href="{:url('Advertisement/index')}" title="广告管理">
                        <i class="layui-icon layui-icon-chart-screen"></i> 广告管理</a>
                </li>
            </ul>
        </div>
    </div>
    <!-- main start -->